package com.ruiysoft.service.order.consts;

/**
 * Date : 2018/11/10
 *
 * @author WenJialu
 */
public enum OrderPayStatusEnum {

	WAITING_FOR_PAY(1, "待支付"),
	CONSUMER_PAID_WAITING_FOR_PLATFORM_CONFIRM(2, "用户支付 待平台确认"),
	PLATFORM_CONFIRMED_WAITING_FOR_SHOP_CONFIRM(3, "平台确信 待商铺确认"),
	PAY_SUCCESS(4, "支付完成"),
	PAY_FAILED(5, "支付失败"),
	PAY_CANCEL(6, "支付取消");

	private Integer code;
	private String text;

	OrderPayStatusEnum(Integer code, String text) {
		this.code = code;
		this.text = text;
	}

	public Integer getCode() {
		return code;
	}

	public String getText() {
		return text;
	}
}
